package su.samcom.calc.model.dao;

import javax.persistence.Entity;
import java.io.Serializable;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Владислав
 * Date: 23.11.13
 * Time: 20:55
 * To change this template use File | Settings | File Templates.
 */
public interface BaseDao<E extends Serializable> {

    public E getById(Long id);
    public List<E> getAll();
    /*public void save(E e);
    public void remove();*/
}
